package com.jyz.test;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Configuration//被这个注解标识的类 等价于引入了所有头文件的spring.xml
//开启组件扫描
@ComponentScan("com.jyz")//等价于<context:component-scan base-package="com.sqsf"/>
@Import({DruidConfig.class})//引入其他注解配置类内容
public class SpringConfig {

}